package com.studentexam.student.service;

import com.studentexam.student.model.Teacher;

import java.util.List;

public interface TeacherService {
    int addTeacher(Teacher teacher);

    int updateTeacher(Teacher teacher);

    int delTeacher(int teacherid);

    List<Teacher> getByTeacherid(int teacherid);

    List<Teacher> getAllTeacher(Teacher teacher);
}
